package com.drug.mingkang.model;

import java.util.Date;
import java.io.Serializable;

/**
 * 药品的材料(HqDrugmaterials)实体类
 *
 * @author wenchangjian
 * @since 2020-08-11 12:00:12
 */
public class HqDrugmaterials implements Serializable {
    private static final long serialVersionUID = 772840863691225999L;
  /**
    * 材料ID
    */
    private String materials;
  /**
    * 原材料id
    */
    private String materialId;
  /**
    * 药品ID
    */
    private String drugId;
  /**
    * 数量
    */
    private Integer materialsNum;
  /**
    * 是否有效
    */
    private Integer isva;
  /**
    * 操作时间
    */
    private Date optime;
  /**
    * 操作人
    */
    private String oper;
  /**
    * 备注
    */
    private String remark;
  /**
    * 排序
    */
    private Integer sort;

    /**
     * 原材料价格
     */
    private Double money;


    //药品名称
    private String drugName;

    //材料名称
    private String materialName;

    public Double getMoney() {
        return money;
    }

    public void setMoney(Double money) {
        this.money = money;
    }

    public String getDrugName() {
        return drugName;
    }

    public void setDrugName(String drugName) {
        this.drugName = drugName;
    }

    public String getMaterialName() {
        return materialName;
    }

    public void setMaterialName(String materialName) {
        this.materialName = materialName;
    }

    public String getMaterials() {
        return materials;
    }

    public void setMaterials(String materials) {
        this.materials = materials;
    }
  
    public String getMaterialId() {
        return materialId;
    }

    public void setMaterialId(String materialId) {
        this.materialId = materialId;
    }
  
    public String getDrugId() {
        return drugId;
    }

    public void setDrugId(String drugId) {
        this.drugId = drugId;
    }
  
    public Integer getMaterialsNum() {
        return materialsNum;
    }

    public void setMaterialsNum(Integer materialsNum) {
        this.materialsNum = materialsNum;
    }
  
    public Integer getIsva() {
        return isva;
    }

    public void setIsva(Integer isva) {
        this.isva = isva;
    }
  
    public Date getOptime() {
        return optime;
    }

    public void setOptime(Date optime) {
        this.optime = optime;
    }
  
    public String getOper() {
        return oper;
    }

    public void setOper(String oper) {
        this.oper = oper;
    }
  
    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
  
    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }


    @Override
    public String toString() {
        return "HqDrugmaterials{" +
                "materials='" + materials + '\'' +
                ", materialId='" + materialId + '\'' +
                ", drugId='" + drugId + '\'' +
                ", materialsNum=" + materialsNum +
                ", isva=" + isva +
                ", optime=" + optime +
                ", oper='" + oper + '\'' +
                ", remark='" + remark + '\'' +
                ", sort=" + sort +
                ", drugName='" + drugName + '\'' +
                ", materialName='" + materialName + '\'' +
                '}';
    }
}